package com.topscore.uke.mvp.contractors;

import android.widget.TextView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.topscore.uke.entities.MemberMobPosInfo;
import com.topscore.uke.mvp.BaseContractor;
import com.topscore.uke.mvp.model.BaseHttpListener;
import com.topscore.uke.mvp.views.BaseView;
import com.topscore.uke.network.BaseResponse;
import com.topscore.uke.network.retrofit.ApiService;
import com.topscore.uke.network.retrofit.NetClient;

/**
 * Created by 71468 on 2017/11/13.
 */

public interface GetMemberMobPosInfoContractor extends BaseContractor{
    ApiService mService = NetClient.getInstance().net().create(ApiService.class);
    interface Model{
        void getInfo(String phone);
    }

    interface View extends BaseView{
        void onGetInfoSuccess(MemberMobPosInfo mobPosInfo);
        TextView getNickNameTv();
        TextView getQQTv();
        TextView getWeChatTv();
        TextView getWeiboTv();
        TextView getEmailTv();
        TextView getPhoneTv();
        TextView BirthDayTv();
        TextView childBirthDayTv();
        BaseQuickAdapter getAddressAdapter();
    }

    interface Presenter {
        void getMobPosInfoByPhone(String phone);
    }

    interface CallBack extends BaseHttpListener{
        void onGetSuccess(BaseResponse<MemberMobPosInfo> response);
    }
}
